{"version":3,"sources":["bundle.js"],"names":["this","BX","exports","main_core","_templateObject","_templateObject2","TextCrop","options","babelHelpers","classCallCheck","target","rows","resize","text","rowHeight","layout","wrapper","basicBlock","createClass","key","value","getText","innerText","getWrapper","Tag","render","taggedTemplateLiteral","getBasicBlock","getRowHeight","styleAtt","getComputedStyle","lineHeight","firstHeight","offsetHeight","appendChild","secondHeight","remove","cropResize","_this","timer","window","addEventListener","setTimeout","init","clearTimeout","crop","Type","isDomNode","cropText","numberRows","parseInt","setAttribute","textContent","substring","length","innerHTML","UI"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,IACpB,SAAUC,EAAQC,GAClB,aAEA,IAAIC,EAAiBC,EACrB,IAAIC,EAAwB,WAC1B,SAASA,EAASC,GAChBC,aAAaC,eAAeT,KAAMM,GAClCN,KAAKU,OAASH,EAAQG,QAAU,KAChCV,KAAKW,KAAOJ,EAAQI,MAAQ,EAC5BX,KAAKY,OAASL,EAAQK,QAAU,MAChCZ,KAAKa,KAAO,KACZb,KAAKc,UAAY,KACjBd,KAAKe,OAAS,CACZC,QAAS,KACTC,WAAY,MAIhBT,aAAaU,YAAYZ,EAAU,CAAC,CAClCa,IAAK,UACLC,MAAO,SAASC,IACd,IAAKrB,KAAKa,KAAM,CACdb,KAAKa,KAAOb,KAAKU,OAASV,KAAKU,OAAOY,UAAY,KAGpD,OAAOtB,KAAKa,OAEb,CACDM,IAAK,aACLC,MAAO,SAASG,IACd,IAAKvB,KAAKe,OAAOC,QAAS,CACxBhB,KAAKe,OAAOC,QAAUb,EAAUqB,IAAIC,OAAOrB,IAAoBA,EAAkBI,aAAakB,sBAAsB,CAAC,kBAAmB,oBAAqB1B,KAAKqB,WAGpK,OAAOrB,KAAKe,OAAOC,UAEpB,CACDG,IAAK,gBACLC,MAAO,SAASO,IACd,IAAK3B,KAAKe,OAAOE,WAAY,CAC3BjB,KAAKe,OAAOE,WAAad,EAAUqB,IAAIC,OAAOpB,IAAqBA,EAAmBG,aAAak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